<form id="alterarSenha" action="{$BASE_PATH}" method='post'>
	<div class='formInline'>
		{$form->getElement('application')->render()}
		{$form->getElement('controller')->render()}
		{$form->getElement('method')->render()}
		{$form->getElement('pessoa[pessoa]')->render()}
		<div class="userPass control-group noPaddingRight">
			{$form->getElement('pessoa[senha]')->getLabel()->render()}
			<div class="controls">
				{$form->getElement('pessoa[senha]')->render()}
				<div id="passwordStrength" class="dInlineBlock np0"></div>
			</div>
		</div>
		<div class="control-group">
			{$form->getElement('pessoa[repita_senha]')->getLabel()->render()}
			<div class="controls">
				{$form->getElement('pessoa[repita_senha]')->render()}
			</div>
		</div>
	</div>
	<div class="boxActions">
		{$form->getElement('salvar')->render()}
	</div>
</form>
{literal}
<script type="text/javascript">
	$(document).ready(function(){
		$("form#alterarSenha").validate({
			rules: {
				'pessoa[senha]': "required",
				'pessoa[repita_senha]': {
					equalTo: "#user_password"
				}
			}
		});
	});
</script>
{/literal}